<#assign className = table.className>
<#assign classNameLower = className?uncap_first>
package ${basepackage}.dao.${namespace};

import ${basepackage}.entity.${namespace}.${className};
import ${basepackage}.dto.${namespace}.${className}DTO;
import com.jk.util.mybatis.MyBatisRepository;

<#include "/java_copyright.include">
@MyBatisRepository
public interface  ${className}Dao {
	
	void insert(${className} entity) throws Exception;

	void updateById(${className} entity) throws Exception;

	void deleteById	(${className} entity) throws Exception;

	List<${className}> selectPage(${className}DTO query) throws Exception;

	int pageCount(${className}DTO query) throws Exception;
	
}
